<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-module_type" class="control-label col-xs-12 col-sm-2">{:__('Module_type')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-module_type" data-rule="required" class="form-control selectpicker" name="row[module_type]">
                {foreach name="moduleTypeList" item="vo"}
                <option value="{$key}" {in name="key" value="99"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-type" class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-nid" class="control-label col-xs-12 col-sm-2">{:__('Nid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nid" class="form-control" name="row[nid]" type="text">
        </div>
    </div>
   
    <!--<div class="form-group">-->
        <!--<label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('Pid')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-pid" data-rule="required" class="form-control" name="row[pid]" type="number" value="0">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-path" class="control-label col-xs-12 col-sm-2">{:__('Path')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-path" data-rule="required" class="form-control" name="row[path]" type="text" value="0000">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-path_order" class="control-label col-xs-12 col-sm-2">{:__('Path_order')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-path_order" data-rule="required" class="form-control" name="row[path_order]" type="number" value="1">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-input_time" class="control-label col-xs-12 col-sm-2">{:__('Input_time')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-input_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[input_time]" type="text" value="{:date('Y-m-d H:i:s')}">-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label for="c-jumpurl" class="control-label col-xs-12 col-sm-2">{:__('Jumpurl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jumpurl" class="form-control" name="row[jumpurl]" type="text">
        </div>
    </div>

    <div class="form-group">
        <label for="c-is_open" class="control-label col-xs-12 col-sm-2">{:__('Is_open')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_open" data-rule="required" class="form-control selectpicker" name="row[is_open]">
                {foreach name="isOpenList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <!--<div class="form-group">-->
        <!--<label for="c-is_open1" class="control-label col-xs-12 col-sm-2">{:__('Is_open1')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
                        <!---->
            <!--<select  id="c-is_open1" data-rule="required" class="form-control selectpicker" name="row[is_open1]">-->
                <!--{foreach name="isOpen1List" item="vo"}-->
                    <!--<option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>-->
                <!--{/foreach}-->
            <!--</select>-->

        <!--</div>-->
    <!--</div>-->
    
	
	
	 <div class="form-group">
        <label for="c-sort" class="control-label col-xs-12 col-sm-2">{:__('Sort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort" data-rule="required" class="form-control" name="row[sort]" type="number" value="255">
        </div>
    </div>
	
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
